//引入数据库
const mysql = require('mysql');

//创建连接
var connection = mysql.createConnection({
    host     : 'localhost',
    user     : 'root',
    password : 'root',
    database : 'vuexms'
});

//暴露出去
module.exports = connection;
